package com.luocj.looook.adapter;

import android.support.v4.app.FragmentActivity;

import com.chad.library.adapter.base.BaseItemDraggableAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.luocj.looook.R;
import com.luocj.looook.fragment.DragItemFragment;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/12/14/014.
 */

public class DragItemAdapter extends BaseItemDraggableAdapter<String, BaseViewHolder> {

    public DragItemAdapter(FragmentActivity activity, ArrayList<String> mDatas) {
        super(R.layout.item_type_one, mDatas);
    }

    @Override
    protected void convert(BaseViewHolder holder, String item) {
        holder.setText(R.id.tv_item_one, item);

    }
}
